#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "pet.h"
#include "petselection.h"
#include "timemanager.h"
#include <QLabel>
#include <QWidget>
#include <QVBoxLayout>
#include <QPushButton>
#include <QTimer>

QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void feedButton();
    void cleanButton();
    void playButton();
    void updateStatus();
    void updateTime();

private:
    Ui::MainWindow *ui;
    Pet *m_pet;
    TimeManager *m_timeManager;
    QTimer *m_statusTimer;
    QLabel *m_timeLabel;
    QLabel *m_petLabel;
    QPushButton *m_feedButton;
    QPushButton *m_cleanButton;
    QPushButton *m_playButton;
};
#endif // MAINWINDOW_H
